<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
%>
<!DOCTYPE HTML>
<html>
<head>
<title>SC微超市后台管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="<%=basePath%>/assets/css/dpl-min.css" rel="stylesheet" type="text/css" />
<link href="<%=basePath%>/assets/css/bui-min.css" rel="stylesheet" type="text/css" />
<link href="<%=basePath%>/assets/css/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<div class="header">
		<div class="dl-title">
			<span class="">SC微超市后台管理系统(测试版本)</span>
		</div>
		<div class="dl-log">
			欢迎您，<span class="dl-log-user" style="color:red">${name} ( ${rule_str} ) </span><a href="<%=basePath %>/Login_logout"
				title="退出系统" class="dl-log-quit">[退出]</a>
		</div>
	</div>
	<div class="content">
		<div class="dl-main-nav">
			<ul id="J_Nav" class="nav-list ks-clear">
				<li class="nav-item dl-selected"><div
						class="nav-item-inner nav-inventory">后台首页</div>
				</li>
				<li class="nav-item"><div class="nav-item-inner nav-inventory">系统管理</div>
				</li>
				<li class="nav-item"><div class="nav-item-inner nav-inventory">内容管理</div>
				</li>
				<li class="nav-item"><div class="nav-item-inner nav-inventory">用户管理</div>
				</li>
				<li class="nav-item"><div class="nav-item-inner nav-inventory">物流管理</div>
				</li>
				<li class="nav-item"><div class="nav-item-inner nav-inventory">财务管理</div>
				</li>
				<li class="nav-item"><div class="nav-item-inner nav-inventory">统计汇总</div>
				</li>
				<li class="nav-item"><div class="nav-item-inner nav-inventory">商户管理</div>
				</li>
				<li class="nav-item"><div class="nav-item-inner nav-inventory">微信网站</div>
				</li>
				<li class="nav-item"><div class="nav-item-inner nav-inventory">资源管理</div>
				</li>
			</ul>
		</div>
		<ul id="J_NavContent" class="dl-tab-conten">
		</ul>
	</div>
	<script type="text/javascript" src="<%=basePath%>/assets/js/jquery-1.8.1.min.js"></script>
	<script type="text/javascript" src="<%=basePath%>/assets/js/bui-min.js"></script>
	<script type="text/javascript" src="<%=basePath%>/assets/js/config-min.js"></script>
	<script>
	    BUI.use('common/main',function(){
	      var config = [{
	          id:'home', 
	          homePage :'home_news',
	          menu:[{
	              text:'首页内容',
	              items:[
	                {id:'home_news',text:'最新信息',href:'<%=basePath%>/AdminNews_show',closeable : false},
	              ]
	            },{
	              text:'管理助手',
	              items:[
	                {id:'home_help',text:'后台操作手册',href:'<%=basePath%>/jsp/admin/construction.jsp'},
	              ]
	            },{
	              text:'资源下载',
	              items:[
	                {id:'home_resource',text:'物流客户端',href:'<%=basePath%>/jsp/admin/construction.jsp'},
	              ]
	            }]
	          },{
	            id:'system_managers',
	            homePage :'system_managers_news_edit',
	            menu:[{
	                text:'后台最新信息',
	                items:[
	                  {id:'system_managers_news_edit',text:'信息编辑',href:'<%=basePath%>/AdminNews_edit',closeable : false},
	                  {id:'system_managers_news_add',text:'信息添加',href:'<%=basePath%>/AdminNews_add'}
	                ]
	              }]
	          },{
	            id:'content',
	            homePage :'content_sub_edit',
	            menu:[{
	                text:'主类管理',
	                items:[
	                  {id:'content_root_add',text:'添加主类',href:'<%=basePath%>/RootSort_add'},
	                  {id:'content_root_edit',text:'编辑主类',href:'<%=basePath%>/RootSort_edit'}
	                ]
	              },{
	                text : '子类管理',
	                items : [
	                  {id:'content_sub_add',text:'添加子类',href:'<%=basePath%>/SubSort_add'},
	                  {id:'content_sub_edit',text:'编辑子类',href:'<%=basePath%>/SubSort_edit',closeable : false}
	                ]
	              },{
	                text : '活动管理',
	                items : [
	                  {id:'content_action_add',text:'添加活动',href:'<%=basePath%>/jsp/admin/construction.jsp'},
	                  {id:'content_action_edit',text:'编辑活动',href:'<%=basePath%>/jsp/admin/construction.jsp'}
	                ]
	              },{
	                text : '广告管理',
	                items : [
	                  {id:'content_advertising_add',text:'添加广告',href:'<%=basePath%>/jsp/admin/construction.jsp'},
	                  {id:'content_advertising_edit',text:'编辑广告',href:'<%=basePath%>/jsp/admin/construction.jsp'}
	                ]
	              }]
	          },{
	            id:'user_manager',
	            homePage :'user_manager_system_edit',
	            menu:[{
	                text:'后台用户管理',
	                items:[
	                  {id:'user_manager_system_add',text:'添加用户',href:'<%=basePath%>/UserManager_add'},
	                  {id:'user_manager_system_edit',text:'编辑用户',href:'<%=basePath%>/UserManager_edit'}
	                ]
	              },{
	                text : 'WAP用户(微信用户)',
	                items : [
	                  {id:'user_manager_wap_add',text:'添加WAP用户',href:'<%=basePath%>/jsp/admin/construction.jsp'},
	                  {id:'user_manager_wap_edit',text:'编辑WAP用户',href:'<%=basePath%>/jsp/admin/construction.jsp'},
	                  {id:'user_manager_wap_comment',text:'用户评论管理',href:'<%=basePath%>/jsp/admin/construction.jsp'}
	                ]
	              }]
	          },{
	            id : 'logistics',
	            homePage :'logistics_person_manager',
	            menu : [{
	              text : '区域管理',
	              items:[
	                  {id:'logistics_area_add',text:'添加区域',href:'<%=basePath%>/jsp/admin/construction.jsp'},
	                  {id:'logistics_area_edit',text:'区域管理',href:'<%=basePath%>/jsp/admin/construction.jsp'}
	              ]
	            },{
	              text : '订单管理',
	              items:[
	                  {id:'logistics_order_edit',text:'订单管理',href:'<%=basePath%>/jsp/admin/construction.jsp'},
	              ]
	            },{
	              text : '物流人员管理',
	              items:[
	                  {id:'logistics_person_manager',text:'物流人员信息',href:'<%=basePath%>/jsp/admin/construction.jsp',closeable : false},
	                  {id:'logistics_manager',text:'在线监控',href:'<%=basePath%>/jsp/admin/construction.jsp'}
	              ]
	            }]
	            },{
	            id:'financial',
	            homePage :'financial_order_all',
	            menu:[{
	                text:'支付管理',
	                items:[
	                  {id:'financial_payment_add',text:'添加支付方式',href:'<%=basePath%>/jsp/admin/construction.jsp'},
	                  {id:'financial_payment_manager',text:'支付管理',href:'<%=basePath%>/jsp/admin/construction.jsp'}
	                ]
	              },{
	                text : '支付&订单',
	                items : [
	                  {id:'financial_order_all',text:'全部订单',href:'<%=basePath%>/jsp/admin/construction.jsp',closeable : false},
	                  {id:'financial_order_ispaid',text:'未付款订单',href:'<%=basePath%>/jsp/admin/construction.jsp'},
	                  {id:'financial_order_nopaid',text:'已付款订单',href:'<%=basePath%>/jsp/admin/construction.jsp'},
	                  {id:'financial_order_isreceive',text:'已送货订单',href:'<%=basePath%>/jsp/admin/construction.jsp'},
	                  {id:'financial_order_noreceive',text:'未送货订单',href:'<%=basePath%>/jsp/admin/construction.jsp'},
	                ]
	              }]
	          },{
	            id:'statistics',
	            homePage :'statistics_order',
	            menu:[{
	                text : '统计',
	                items : [
	                  {id:'statistics_user',text:'用户统计',href:'<%=basePath%>/jsp/admin/construction.jsp'},
	                  {id:'statistics_area',text:'区域统计',href:'<%=basePath%>/jsp/admin/construction.jsp'},
	                  {id:'statistics_merchant',text:'商超统计',href:'<%=basePath%>/jsp/admin/construction.jsp'},
	                  {id:'statistics_order',text:'订单统计',href:'<%=basePath%>/jsp/admin/construction.jsp',closeable : false},
	                  {id:'statistics_financial',text:'财务统计',href:'<%=basePath%>/jsp/admin/construction.jsp'},
	                ]
	              }]
	          },{
	            id:'merchant',
	            homePage :'merchant_product_manager',
	            menu:[{
	                text : '商户管理',
	                items : [
	                  {id:'merchant_manager_merchant',text:'商户添加',href:'<%=basePath%>/Merchant_add'},
	                  {id:'merchant_manager_merchant',text:'商户管理',href:'<%=basePath%>/Merchant_edit'},
	                  {id:'merchant_add_product',text:'商户产品添加',href:'<%=basePath%>/Product_add'},
	                  {id:'merchant_product_manager',text:'商户产品编辑',href:'<%=basePath%>/Product_edit',closeable : false},
	                ]
	              }]
	          },{
	            id:'wechat',
	            homePage :'wechat_template',
	            menu:[{
	                text : '内容管理',
	                items : [
	                  {id:'wechat_content',text:'内容管理',href:'<%=basePath%>/jsp/admin/construction.jsp'},
	                ]
	              },{
	                text : '样式管理',
	                items : [
	                  {id:'wechat_template',text:'更改样式',href:'<%=basePath%>/jsp/admin/construction.jsp',closeable : false},
	                ]
	              },{
	                text : '广告管理',
	                items : [
	                  {id:'wechat_advert_view',text:'广告浏览',href:'<%=basePath%>/jsp/admin/construction.jsp'},
	                  {id:'wechat_advert_edit',text:'广告编辑',href:'<%=basePath%>/jsp/admin/construction.jsp'},
	                ]
	              },{
	                text : '最新消息管理',
	                items : [
	                  {id:'wechat_news_add',text:'添加最新消息',href:'<%=basePath%>/jsp/admin/construction.jsp'},
	                  {id:'wechat_news_edit',text:'管理最新消息',href:'<%=basePath%>/jsp/admin/construction.jsp'},
	                ]
	              }]
	          },{
	            id:'resource_management',
	            homePage :'wechat_content',
	            menu:[{
	                text : '资源管理',
	                items : [
	                  {id:'wechat_content',text:'APP资源管理',href:'<%=basePath%>/jsp/admin/construction.jsp',closeable : false}
	                ]
	              }]
	          }];
	      new PageUtil.MainPage({
	        modulesConfig : config
	      });
	    });
	</script>
</body>
</html>
